how to run JavaScript in a browser